home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / bnchutil.arc / BROWSE.DOC < prev    next >
Text File  |  1991-04-30  |  3KB  |  54 lines

  1. BROWSE                                 Charles Petzold
  2.  
  3. Purpose   Permits scrolling forward and backward throughout a file without use
  4.           of a word processing program.
  5.  
  6. Format:   BROWSE [d:][path]filename[.ext] [/W]
  7.  
  8. Remarks:  The DOS TYPE command does not permit you to scroll ahead or go back to
  9.           previously displayed material in a file.  It also exits at the first
  10.           instance of Ctrl-Z (ASCII 26, conventionally used as an End-of-File
  11.           marker), making it impossible to scan binary (e.g. .COM) files for
  12.           error messages, copyright notices, and the like.
  13.  
  14.           BROWSE.COM overcomes these shortcomings, giving you the chance to go
  15.           immediately to the top or to the end of a file (the Home and End
  16.           keys, respectively), to the succeeding or previous screen (PgUp and
  17.           PgDn), or to move up or down a line at a time (Up Arrow or Down
  18.           Arrow).  To return to DOS, simply press the Escape key or
  19.           Ctrl-Break.
  20.  
  21.           Wide displays, e.g. a spreadsheet file, are not broken at 80 columns,
  22.           as with TYPE.  BROWSE ignores carriage returns (ASCII 13), breaking
  23.           lines only on line feeds (ASCII 10).  The Right Arrow key scrolls the
  24.           display to the right in eight-character increments (see Note 3 below)
  25.           to view wide displays; the Left Arrow key returns you immediately to
  26.           column zero.
  27.  
  28.           BROWSE expands tab characters (ASCII 9) to the next eight-character
  29.           boundary, but does no other character processing unless the /W
  30.           parameter is specified.  Use of the /W option permits using BROWSE
  31.           with WordStar files.
  32.  
  33. Notes:    BROWSE can run under TopView or Windows; specify "writes directly to
  34.           screen" in the .PIF and use the default 52K memory requirement.  (The
  35.           program actually requires only approximately 33K to run.) For the
  36.           TopView PIF, specify that the program intercepts Interrupt 23h.
  37.  
  38.           BROWSE is compatible with the IBM monochrome, CGA, and EGA displays,
  39.           and will even run in the EGA 43-line mode.  Files prepared with
  40.           word-processors that employ a one-line-per-paragraph format (such as
  41.           Microsoft Word and XyWrite) may to require excessive right scrolling,
  42.           however.
  43.  
  44.           BROWSE.COM can be patched with DEBUG so that its right-scroll jumps
  45.           by more than the default eight characters.  The address to patch is
  46.           10F in the .COM file.  After entering DEBUG BROWSE.COM type
  47.  
  48.                E 10F
  49.  
  50.           and the default value (08h) will appear.  Type the desired
  51.           hexadecimal number (28 for a 40-column increment; 50 for an 80-
  52.           column increment) and press <Enter>.  Then type W<Enter> to write to
  53.           the disk and Q<Enter> to quit DEBUG.
  54.